package dao;

import bean.UserInfo;

import java.util.List;

public interface IUserInfoDao {
        /**
     * 查询用户信息
     * @return
     * @throws Exception
     */
    public List<UserInfo> queryUserInfo() throws Exception;

    /**
     * 插入用户信息
     * @param userInfo
     * @return
     * @throws Exception
     */
    public boolean insertUserInfo(UserInfo userInfo) throws  Exception;

    public boolean updateUserInfo(UserInfo userInfo) throws  Exception;

    public boolean deleteUserInfo(int id) throws Exception;
}
